﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011E1 RID: 4577
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpringRecoverSingleAvatarCsReq : IMessage<SpringRecoverSingleAvatarCsReq>, IMessage, IEquatable<SpringRecoverSingleAvatarCsReq>, IDeepCloneable<SpringRecoverSingleAvatarCsReq>, IBufferMessage
	{
		// Token: 0x170039F0 RID: 14832
		// (get) Token: 0x0600CCF6 RID: 52470 RVA: 0x00228273 File Offset: 0x00226473
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpringRecoverSingleAvatarCsReq> Parser
		{
			get
			{
				return SpringRecoverSingleAvatarCsReq._parser;
			}
		}

		// Token: 0x170039F1 RID: 14833
		// (get) Token: 0x0600CCF7 RID: 52471 RVA: 0x0022827A File Offset: 0x0022647A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpringRecoverSingleAvatarCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039F2 RID: 14834
		// (get) Token: 0x0600CCF8 RID: 52472 RVA: 0x0022828C File Offset: 0x0022648C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpringRecoverSingleAvatarCsReq.Descriptor;
			}
		}

		// Token: 0x0600CCF9 RID: 52473 RVA: 0x00228293 File Offset: 0x00226493
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverSingleAvatarCsReq()
		{
		}

		// Token: 0x0600CCFA RID: 52474 RVA: 0x0022829C File Offset: 0x0022649C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverSingleAvatarCsReq(SpringRecoverSingleAvatarCsReq other) : this()
		{
			this.floorId_ = other.floorId_;
			this.propEntityId_ = other.propEntityId_;
			this.id_ = other.id_;
			this.kECKNBDHFCC_ = other.kECKNBDHFCC_;
			this.planeId_ = other.planeId_;
			this.avatarType_ = other.avatarType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CCFB RID: 52475 RVA: 0x00228308 File Offset: 0x00226508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverSingleAvatarCsReq Clone()
		{
			return new SpringRecoverSingleAvatarCsReq(this);
		}

		// Token: 0x170039F3 RID: 14835
		// (get) Token: 0x0600CCFC RID: 52476 RVA: 0x00228310 File Offset: 0x00226510
		// (set) Token: 0x0600CCFD RID: 52477 RVA: 0x00228318 File Offset: 0x00226518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FloorId
		{
			get
			{
				return this.floorId_;
			}
			set
			{
				this.floorId_ = value;
			}
		}

		// Token: 0x170039F4 RID: 14836
		// (get) Token: 0x0600CCFE RID: 52478 RVA: 0x00228321 File Offset: 0x00226521
		// (set) Token: 0x0600CCFF RID: 52479 RVA: 0x00228329 File Offset: 0x00226529
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x170039F5 RID: 14837
		// (get) Token: 0x0600CD00 RID: 52480 RVA: 0x00228332 File Offset: 0x00226532
		// (set) Token: 0x0600CD01 RID: 52481 RVA: 0x0022833A File Offset: 0x0022653A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x170039F6 RID: 14838
		// (get) Token: 0x0600CD02 RID: 52482 RVA: 0x00228343 File Offset: 0x00226543
		// (set) Token: 0x0600CD03 RID: 52483 RVA: 0x0022834B File Offset: 0x0022654B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KECKNBDHFCC
		{
			get
			{
				return this.kECKNBDHFCC_;
			}
			set
			{
				this.kECKNBDHFCC_ = value;
			}
		}

		// Token: 0x170039F7 RID: 14839
		// (get) Token: 0x0600CD04 RID: 52484 RVA: 0x00228354 File Offset: 0x00226554
		// (set) Token: 0x0600CD05 RID: 52485 RVA: 0x0022835C File Offset: 0x0022655C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x170039F8 RID: 14840
		// (get) Token: 0x0600CD06 RID: 52486 RVA: 0x00228365 File Offset: 0x00226565
		// (set) Token: 0x0600CD07 RID: 52487 RVA: 0x0022836D File Offset: 0x0022656D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AvatarType AvatarType
		{
			get
			{
				return this.avatarType_;
			}
			set
			{
				this.avatarType_ = value;
			}
		}

		// Token: 0x0600CD08 RID: 52488 RVA: 0x00228376 File Offset: 0x00226576
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpringRecoverSingleAvatarCsReq);
		}

		// Token: 0x0600CD09 RID: 52489 RVA: 0x00228384 File Offset: 0x00226584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpringRecoverSingleAvatarCsReq other)
		{
			return other != null && (other == this || (this.FloorId == other.FloorId && this.PropEntityId == other.PropEntityId && this.Id == other.Id && this.KECKNBDHFCC == other.KECKNBDHFCC && this.PlaneId == other.PlaneId && this.AvatarType == other.AvatarType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CD0A RID: 52490 RVA: 0x00228410 File Offset: 0x00226610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FloorId != 0U)
			{
				num ^= this.FloorId.GetHashCode();
			}
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.KECKNBDHFCC)
			{
				num ^= this.KECKNBDHFCC.GetHashCode();
			}
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this.AvatarType != AvatarType.None)
			{
				num ^= this.AvatarType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CD0B RID: 52491 RVA: 0x002284D2 File Offset: 0x002266D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CD0C RID: 52492 RVA: 0x002284DA File Offset: 0x002266DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CD0D RID: 52493 RVA: 0x002284E4 File Offset: 0x002266E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Id);
			}
			if (this.KECKNBDHFCC)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.KECKNBDHFCC);
			}
			if (this.FloorId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.FloorId);
			}
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.PlaneId);
			}
			if (this.AvatarType != AvatarType.None)
			{
				output.WriteRawTag(112);
				output.WriteEnum((int)this.AvatarType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CD0E RID: 52494 RVA: 0x002285AC File Offset: 0x002267AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FloorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FloorId);
			}
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.KECKNBDHFCC)
			{
				num += 2;
			}
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this.AvatarType != AvatarType.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.AvatarType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CD0F RID: 52495 RVA: 0x00228658 File Offset: 0x00226858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpringRecoverSingleAvatarCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FloorId != 0U)
			{
				this.FloorId = other.FloorId;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.KECKNBDHFCC)
			{
				this.KECKNBDHFCC = other.KECKNBDHFCC;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			if (other.AvatarType != AvatarType.None)
			{
				this.AvatarType = other.AvatarType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CD10 RID: 52496 RVA: 0x002286F8 File Offset: 0x002268F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CD11 RID: 52497 RVA: 0x00228704 File Offset: 0x00226904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 8U)
					{
						this.PropEntityId = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.KECKNBDHFCC = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.FloorId = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.PlaneId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.AvatarType = (AvatarType)input.ReadEnum();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400523C RID: 21052
		private static readonly MessageParser<SpringRecoverSingleAvatarCsReq> _parser = new MessageParser<SpringRecoverSingleAvatarCsReq>(() => new SpringRecoverSingleAvatarCsReq());

		// Token: 0x0400523D RID: 21053
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400523E RID: 21054
		public const int FloorIdFieldNumber = 11;

		// Token: 0x0400523F RID: 21055
		private uint floorId_;

		// Token: 0x04005240 RID: 21056
		public const int PropEntityIdFieldNumber = 1;

		// Token: 0x04005241 RID: 21057
		private uint propEntityId_;

		// Token: 0x04005242 RID: 21058
		public const int IdFieldNumber = 3;

		// Token: 0x04005243 RID: 21059
		private uint id_;

		// Token: 0x04005244 RID: 21060
		public const int KECKNBDHFCCFieldNumber = 8;

		// Token: 0x04005245 RID: 21061
		private bool kECKNBDHFCC_;

		// Token: 0x04005246 RID: 21062
		public const int PlaneIdFieldNumber = 13;

		// Token: 0x04005247 RID: 21063
		private uint planeId_;

		// Token: 0x04005248 RID: 21064
		public const int AvatarTypeFieldNumber = 14;

		// Token: 0x04005249 RID: 21065
		private AvatarType avatarType_;
	}
}
